package com.ontheroad.mysql.activity.mapper;

import com.ontheroad.activity.model.ActivityJoinApplyModel;
import com.ontheroad.activity.model.ActivityModel;
import org.apache.ibatis.annotations.Param;
import org.mybatis.mapper.interfaces.GenericMapper;

import java.util.List;


/**
 * ActivityJoinApplyDAO接口
 *
 * @author admin
 */
public interface ActivityJoinApplyMapper extends GenericMapper<ActivityJoinApplyModel,Integer>{
    List<ActivityModel> getMyActivity(Long userId);

    Integer getJoinState(@Param("activityId") Integer activityId, @Param("userId") Integer userId);

    //------------------请在此添加自定义方法（开始）------------------
	//------------------请在此添加自定义方法（结束）------------------

    
}
